def make_chocolate(small, big, goal):
  def make_chocolate(small, big, goal):
 big_need =goal // 5
 big = min(big,big_need)
 goal -= big *5
 if goal > small:
  return - 1
 return goal  
